package com.ylw.entity.define;

//服务依赖
public class ServiceDependency {
    private String serviceCode;//依赖项
    private String serviceName;//备注

    public ServiceDependency(String serviceCode, String serviceName) {
        this.serviceCode = serviceCode;
        this.serviceName = serviceName;
    }

    public String getServiceCode() {
        return serviceCode;
    }

    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"serviceCode\":\"").append(serviceCode).append('\"');
        sb.append(",\"serviceName\":\"").append(serviceName).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
